//手机号码单击事件
function sel(type){
	if(type == 0){
		$('.pf-col-phone font').hide();
    	$('.pf-col-phone font').text('');
    	$('.pf-col-phone span').removeClass();
	}else if(type == 1){
		$('.pf-col-yzm font').hide();
    	$('.pf-col-yzm font').text('');
    	$('.pf-col-yzm span').removeClass();
	}else if(type == 2){
		$('.pf-col-paswd font').hide();
    	$('.pf-col-paswd font').text('');
    	$('.pf-col-paswd span').removeClass();
	}
	
}

//校验表单
function check(type){
    var phone = $('#phone').val();
    var verification_code = $('#verification_code').val();
    var password = $('#password').val();
    
	if(type == 0 && phone!=''){
    	$('.pf-col-phone span').addClass('pf-success');
	}else if(type == 0 && phone==''){
		$('.pf-col-phone span').removeClass();
	}
	
	if(type == 1 && verification_code!=''){
    	$('.pf-col-yzm font').hide();
	}
	
	if(type == 2&& phone!=''){
		$('.pf-col-paswd font').hide();
    	$('.pf-col-paswd span').addClass('pf-success');
	}
}